/*
package com.isoft.service.tableservice;

import com.isoft.dao.tabledao.BaseCfieDao;
import com.isoft.entity.tableentity.base_cfie.BaseCfieMsg;
import com.isoft.utils.TimeFormatUtils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.sql.Timestamp;
import java.text.ParseException;

@Slf4j
@Service
public class BaseCfieService {
    @Autowired
    private BaseCfieDao baseCfieDao;
    @Transactional
    public int insertmsg(BaseCfieMsg baseCfieMsg) throws ParseException {
        Timestamp ddtm= TimeFormatUtils.stringToTimestamp(baseCfieMsg.getBaseCfieMeta().getDdtm());
        Timestamp create_time=TimeFormatUtils.GetNowTime();
        baseCfieDao.insertMeta(create_time,ddtm,baseCfieMsg.getBaseCfieMeta());
        return baseCfieDao.insertCrft(baseCfieMsg.getBaseCfieMeta().getSeqn(),create_time,baseCfieMsg.getCrft());
    }
}
*/
